using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Threading;
using System.Globalization;

public partial class ParentPage : System.Web.UI.Page
{
    protected override void InitializeCulture()
    {
        if (Session["Culture"] != null)
        {
            string UserCulture = Session["Culture"] as string;

            Thread.CurrentThread.CurrentUICulture = new CultureInfo(UserCulture);
            Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(UserCulture);
        }

    }

    protected void Page_Load(object sender, EventArgs e)
    {

    }
}
